package OOPS;

class Service1 {
	void sum(int ab, float bc) {
		System.out.println("Sum is:" + (ab + bc));
	}

	void display(String name, int id, float fee, long phone, boolean registered) {
		System.out.println("Info is:" + name + "," + id + "," + fee + "," + phone + "," + registered);
	}

	void show() {
		System.out.println("show method");
		return;
	}

	/*
	 * void mi(void){ System.out.println("mi method"); }
	 */
	String getmail(int id) {
		return "sri@jlc.com";
	}

	long[] getAllPhone() {
		return new long[] { 3135345, 967567657 };
	}

	int getid(String email) {
		return 'A';
		// return 0;
	}

	boolean isupper(char ch) {
		if (ch >= 65 && ch <= 90)
			return true;
		else
			return false;
	}
}

class Test34 {
	public static void main(String str[]) {
		Service1 serv = new Service1();
		serv.show();
		// serv.show(12);
		// serv.sum(10);
		// serv.sum(12.0F,H);
		serv.sum(10, 12.0F);
		serv.sum('A', 125);
		byte b1 = 10;
		serv.sum('A', b1);
		// serv.isupper=serv.isupper('B');
		System.out.println(serv.isupper('c'));
	}
}